package com.bdqn.dao.impl;
import com.bdqn.dao.BaseDao;
import com.bdqn.dao.BookDao;
import com.bdqn.pojo.Book;


import java.util.List;

public class BookDaoImpl extends BaseDao implements BookDao {
    @Override
    public List<Book> list() {
        String sql = "select * from book";
        return super.executeQuery(Book.class, sql);
    }

}
